home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / apps / database / ingres04.lzh / doc / files / dbtmplt.doc < prev    next >
Encoding:
Text File  |  1992-11-19  |  1.7 KB  |  54 lines

  1.  
  2.  
  3.  
  4.  
  5.      DBTMPLT(FILES)                                     DBTMPLT(FILES)
  6.  
  7.  
  8.  
  9.      NAME
  10.           .../files/dbtmplt8 - database template
  11.  
  12.      DESCRIPTION
  13.           This file contains the  template  for  a  database  used  by
  14.           _c_r_e_a_t_d_b.   It  has  a set of entries for each relation to be
  15.           created in the database.  The sets of entries are  separated
  16.           by  a  blank  line.   Two blank lines or an end of file ter-
  17.           minate the file.
  18.  
  19.           The first line of the file is the database  status  and  the
  20.           default  relation status, separated by a colon.  The rest of
  21.           the file describes relations.  The first line of each  group
  22.           gives  the  relation  name  followed by an optional relation
  23.           status, separated by a colon.  The rest of the lines in each
  24.           group  are  the  attribute name and the type, separated by a
  25.           tab character.
  26.  
  27.           All the status fields are given in octal, and have a  syntax
  28.           of a single number followed by a list of pairs of the form
  29.                   +__x+_N
  30.           which says that if the +_ _x flag is asserted on  the  _c_r_e_a_t_d_b
  31.           command line then set (clear) the bits specified by _N.
  32.  
  33.           The first set of entries must be for the  relation  catalog,
  34.           and the second set must be for the attribute catalog.
  35.  
  36.      EXAMPLE
  37.           3-c-1+q+2:010023
  38.           relation:-c-20
  39.           relid   c12
  40.           relowner        c2
  41.           relspec i1
  42.  
  43.           attribute:-c-20
  44.           attrelid        c12
  45.           attowner        c2
  46.           attname c12
  47.  
  48.                   (other relation descriptors)
  49.  
  50.      SEE ALSO
  51.           creatdb(unix)
  52.  
  53.  
  54.